package cn.lb.basic.util;

public class R {
    private Boolean success=true;
    private String message="操作成功";
    private Object data;


    public  static R me(){
        return new R();
    }
    public Boolean getSuccess() {
        return success;
    }

    public R setSuccess(Boolean success) {
        this.success = success;
        return this;
    }

    public String getMessage() {
        return message;
    }

    public R setMessage(String message) {
        this.message = message;
        return this;
    }

    public Object getData() {
        return data;
    }

    public R setData(Object data) {
        this.data = data;
        return this;
    }

}
